package com.yb.guigu.pick.auth;

import com.yb.guigu.pick.db.annotation.EnableGuiguDatabaseResource;
import com.yb.guigu.pick.security.annotation.EnableSecurityServer;
import com.yb.guigu.pick.web.annotation.EnableGuiguWebResource;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/5/28 19:08
 * FileName: GuiguPickAuthConsoleApplication
 * Description:
 */

@SpringBootApplication
@EnableSecurityServer(needLogin = true)
@EnableGuiguWebResource
@EnableGuiguDatabaseResource
@EnableAsync
public class AuthConsoleApplication {
    public static void main(String[] args) {

        ConfigurableApplicationContext context = SpringApplication.run(AuthConsoleApplication.class, args);
    }
}
